<?php

// This is the components Facebook module configuration. Any writable
// application components properties can be configured here.
return array(
	'user'=>array(
		// enable cookie-based authentication
		'allowAutoLogin'=>true,
		'loginUrl' => array('/facebook/login'),
	),
	// facebook api
	'facebook'=>array(
		'class'=>'application.modules.facebook.extensions.yii-facebook-opengraph.SFacebook',
		'appId'=>'225053637610199', // needed for JS SDK, Social Plugins and PHP SDK
		'secret'=>'5c9edd3884298d636b72295ccfc76f9f', // needed for the PHP SDK 
		//'locale'=>'en_US', // override locale setting (defaults to en_US)
		//'jsSdk'=>true, // don't include JS SDK
		//'async'=>true, // load JS SDK asynchronously
		//'jsCallback'=>false, // declare if you are going to be inserting any JS callbacks to the async JS SDK loader
		//'status'=>true, // JS SDK - check login status
		//'cookie'=>true, // JS SDK - enable cookies to allow the server to access the session
		//'oauth'=>true,  // JS SDK - enable OAuth 2.0
		//'xfbml'=>true,  // JS SDK - parse XFBML / html5 Social Plugins
		//'html5'=>true,  // use html5 Social Plugins instead of XFBML
		//'ogTags'=>array(  // set default OG tags
			//'title'=>'MY_WEBSITE_NAME',
			//'description'=>'MY_WEBSITE_DESCRIPTION',
			//'image'=>'URL_TO_WEBSITE_LOGO',
		//),
	),
);